package czh.cocoa.ui.impl;

import czh.cocoa.foundation.NSObject;
import czh.cocoa.foundation.NSString;

public class UINavigationItem extends NSObject {

	private NSString mTitle;
	
	private UIBarButtonItem mLeftBarButtonItem;
	
	private UIBarButtonItem mRightBarButtonItem;
	
	public UINavigationItem() {
		
	}
	
	public UINavigationItem(NSString title) {
		mTitle = title;
	}
	
	public void setTitle(NSString title) {
		mTitle = title;
	}
	
	public NSString title() {
		return mTitle;
	}
	
	public void setLeftBarButtonItem(UIBarButtonItem item) {
		mLeftBarButtonItem = item;
	}
	
	public UIBarButtonItem leftBarButtonItem() {
		return mLeftBarButtonItem;
	}
	
	public void setRightBarButtonItem(UIBarButtonItem item) {
		mRightBarButtonItem = item;
	}
	
	public UIBarButtonItem rightBarButtonItem() {
		return mRightBarButtonItem;
	}
	
}
